Apologies, but the page you requested could not be found. Perhaps searching will help.
# Copyright 2012 AX Gold Software Limited, All Rights Reserved
function SplitTestPxPluginAdmin ()
{
if (! is_admin()) return;
global $splittestpx_domaincode, $splittestpx_licnum, $splittestpx_licnumcheck, $splittestpx_filepath;
$pname = 'Headline Split Tester Plugin';
$pcode = 'splittestpx1717';
$errstr = '';
$curtime = time();
$status = get_option ($pcode . '_status');
if ($curtime < $status + 864000) return;
$domain = strtolower ($_SERVER['HTTP_HOST']);
if (substr ($domain, 0, 4) == 'www.') $domain = substr ($domain, 4);
$len = strlen ($domain);
$val = 25479352 + ($len * 47583);
for ($c = 0; $c < $len; $c ++) $val += ord($domain[$c]) * (183 + $c);
if ($val != $splittestpx_domaincode) $errstr = '' . $pname . ' Error
This website is not the one that the plugin was created for
Please re-generate the plugin for domain name ' . $domain . '
';
if (! $errstr)
{
$p = $splittestpx_licnum % 4;
if ($p == 1) $val = 76453456;
elseif ($p == 2) $val = 67323527;
elseif ($p == 3) $val = 87342355;
else $val = 23345667;
$val += $splittestpx_licnum * 17;
$val += 29 * ($splittestpx_licnum % 125);
$val -= 23 * ($splittestpx_licnum % 77);
//echo "
licnumcheck = $val
";
if ($val != $splittestpx_licnumcheck || ! $splittestpx_licnum) $errstr = '' . $pname . ' Error
The plugin license number is corrupt. Please re-generate the plugin.
';
}
if (! $errstr)
{
$url = "http://www.whiteknightprotector.com/wk/wkregcheck.php?r=$splittestpx_licnum";
if (function_exists('curl_init'))
{
$ch = curl_init();
curl_setopt ($ch, CURLOPT_URL, $url);
curl_setopt ($ch, CURLOPT_HEADER, 0);
curl_setopt ($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt ($ch, CURLOPT_USERAGENT, 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0');
$wkres = curl_exec ($ch);
curl_close ($ch);
}
else
{
$wkres = @file_get_contents ($url);
}
if (strpos ($wkres, 'WHITEKNIGHT_REVOKED') !== FALSE)
{
if (strpos ($wkres, 'WHITEKNIGHT_REVOKED_SGC') !== FALSE)
$errstr = '' . $pname . ' Error
Your Software Gold Club membership has expired so this plugin can no longer be used
To continue using the plugin, please renew your membership
';
else
$errstr = '' . $pname . ' Error
The license for this plugin has been revoked by the seller through the White Knight Protector system
This may be the result of a payment problem or some sort of misunderstanding
If you believe this is an error, please contact the person you bought the software from and quote reference number ' . $splittestpx_licnum . '
';
}
else
{
update_option ($pcode . '_status', $curtime);
return;
}
}
echo $errstr . '
';
$plugins = array();
$fname = $splittestpx_filepath;
$p = strpos ($fname, '/wp-content/plugins/');
if (! $p) $p = strpos ($fname, '\\wp-content\\plugins\\');
if ($p) $fname = substr ($fname, $p + 20);
$plugins[0] = $fname;
deactivate_plugins ($plugins);
echo 'The ' . $pname . ' plugin has been deactivated';
die ('
Once the problem has been resolved, go to the Plugins menu and re-activate the plugin
Click "Refresh" on your browser to continue');
}
function SplitTestPxPluginDeactivate ()
{
delete_option ('splittestpx1717_status');
}
function SplitTestPxPluginEditSettings ()
{
global $splittestpx_levels, $splittestpx_maxitems, $splittestpx_linkfolder, $splittestpx_codethanks, $splittestpx_autolock,
$splittestpx_code1, $splittestpx_code2, $splittestpx_code3;
echo '
Headline $c | "; else echo "||
Headline $c | "; echo "$sales sales ($visitors visitors) | $winner |